package main

import "fmt"

func main() {
	a := []int{1, 2, 3, 4, 5}
	fmt.Println(a[:1])

	b := append(a[:1], a[2:]...)
	fmt.Println(b)

	c := []int{1, 2}
	d := append(c[:1], c[2:]...)
	fmt.Println(d)

	res := test()
	fmt.Println(res)
}

func test() (res []int) {
	fmt.Println(res)
	return
}
